package com.biz.primus.model.order.vo.response;

import com.biz.primus.base.enums.PromotionTypeEnum;
import com.biz.primus.model.order.enums.OrderType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * OrderPromotionRequestVO
 *
 * @author Tiger Feng
 * @date 2017年11月09日
 */
@Data
@NoArgsConstructor
@ApiModel("订单促销促销返回模型")
public class OrderPromotionResponseVO implements Serializable {
    @ApiModelProperty("订单类型(FLASH:闪送、STORE:商城、SECKI:秒杀、SYNCH:同步)")
    private OrderType orderType;
    @ApiModelProperty(value = "订单编号")
    private String orderCode;
    @ApiModelProperty(value = "促销ID")
    private Long id;
    @ApiModelProperty(value = "促销名字")
    private String name;
    @ApiModelProperty(value = "促销描述")
    private String description;
    @ApiModelProperty(value = "是否支持使用优惠券")
    private Boolean allowCoupon;
    @ApiModelProperty(value = "促销类型",
            notes = "\"CUT_PRICE_SALE\":\"降价拍\",\"PRESELL\":\"预售\",\"PURCHASE_LOTTERY\":\"购买抽奖\",\"LUCKY_ORDER\":\"下单有礼\",\"SECKILL\":\"秒杀\",\"USER_FIRST_ORDER_CUT\":\"首单立减\",\"PURCHASE_GIFT\":\"买赠\",\"SIGNATURE\":\"签到/评价有礼\",\"SPECIAL_OFFER\":\"简单特价\",\"DISCOUNT\":\"折扣促销\",\"RAISE_PRICE_REDEMPTION\":\"加价换购\"")
    private PromotionTypeEnum promotionType;
}
